package com.gooddare.controller 
{
	import com.gooddare.model.ModelLocator;
	import com.gooddare.view.IndexFrameMediator;
	import flash.display.Sprite;
	import org.puremvc.as3.interfaces.INotification;
	import org.puremvc.as3.patterns.command.SimpleCommand;
	/**
	 * ...
	 * @author Lyleff
	 */
	public class AppStartupCommand extends SimpleCommand
	{
		
		override public function execute (notification:INotification) : void {
			ModelLocator.ROOT = notification.getBody() as Sprite;
			
			facade.registerMediator(new IndexFrameMediator())
		}
		
	}

}